<!DOCTYPE HTML>
<html>
  <head>
   <title>Minecraft Potion Finder</title>
   <link rel="stylesheet" type="text/css" href="/img/style.css" >
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-26092820-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
<link rel="icon" type="image/png" href="/img/favicon.ico">
  </head>
  <body>
    <h2>Minecraft Potion Explorer for 1.9 Pre2</h2>
	<h3> NOTE: this information is purely theoretical and may change. It has not been extensively validated.</h3>
	  {% block bodycontent %}

	  {% endblock bodycontent %}

	  {% block potions %}
	
<div style="clear:both;">
	{% if not results %}
		{% if limit %}
			We hit a limit before finding potions which matched your ingredient request. Try adding more Effect filters or reducing the number of ingredient filters.
		{% else %}
		No results Found!
		{% endif %}
	{% endif %}
	{% for res in results %}
	<div class="{% cycle potion-odd,potion-even %}">
		<div class="potion-effects">
			<a href="/potion?id={{res.id}}">Potion {{res.id}}</a>
			<ul>{% for eff in res.effects %}
			<li> {{ eff.name }} ({{ eff.duration }})
				{% endfor %}</ul>
		</div>
		<div style="float:left;">
			 {% for form in res.formulas %}
			 <ol class="ing-list">
			 <a href="/formula?id={{form.id}}">
				{% for ing in form.inglist %}
				<li><img width="24px" height="24px" src="{{ ing.1 }}" title="{{ ing.0 }}">
				{% endfor %}
			</a></ol>
			 {% endfor %}
		 </div>
	 </div>
	{% endfor %}
</div>

	{% endblock potions %}

  </body>
</html>
